Linking to a document

Use the Property inspector to link an image, an object, or text to another document, or to link to a particular section of a document.

This section provides information on just one way to link documents; for information on using other techniques for creating links, see Linking documents using the point-to-file icon and Creating and modifying links in Site Map view.

To create links between documents:

1 Select text or an image in the Document window.
2 Open the Property inspector (Window > Properties) and do one of the following:
Click the folder icon to the right of the Link field to browse to and select a file.
The path to the linked document appears in the URL field. Use the Relative To pop-up menu in the Select HTML File dialog box to select whether the path is document relative or root relative, then click Select.
Note: When you change the path type in the Relative To field, Dreamweaver sets the selection as the default path type for any future links until you change the selection.
In the Link field, type the path and file name of the document.
To link to a document in your site, enter a document-relative or root-relative path. To link to a document outside your site, enter an absolute path including the type of protocol (such as http://).
3 Select a location in which the document will open.
To make the linked document appear somewhere other than in the current window or frame, select an option from the Target pop-up menu on the Property inspector.
_blank loads the linked document in a new, unnamed browser window.
_parent loads the linked document in the parent frameset or window of the frame that contains the link. If the frame containing the link is not nested, then the linked document will load into the full browser window.
_self loads the linked document in the same frame or window as the link. This target is implied, so you usually don't have to specify it.
_top loads the linked document in the full browser window, thereby removing all frames.
For information about targeting frame documents, see Controlling frame content with links.